﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Linq;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;

namespace Marking.Dashboard.ViewModels.Sales
{
    /// <summary>
    /// 销售走势图视图模型。
    /// </summary>
    public class SalesLineChartViewModel : ObservableCollection<SalesInfo>
    {
        public SalesLineChartViewModel(string title, string suffix)
        {
            this.Title = title;
            this.Suffix = suffix;
        }

        /// <summary>
        /// 图表中显示的的标题格式。
        /// </summary>
        public string Title { get; private set; }

        /// <summary>
        /// 后缀。
        /// </summary>
        public string Suffix { get; private set; }

        /// <summary>
        /// 报表地址
        /// </summary>
        public string ReportUrl { get; set; }
    }
}
